package com.wsl.myexception.utils;

import com.wsl.myexception.domain.Result;

public class ResultUtils {

    public  static Result error(Integer code,String message){
        Result<Object> objectResult = new Result<>();
        objectResult.setCode(code);
        objectResult.setMsg(message);
        return objectResult;
    }
}
